
CC=g++

CCTARGET=build/

CCSRC= \
	ame/source/render/output/*.cpp \
	ame/source/render/enviroment/*.cpp \
	ame/source/render/UI/text/*.cpp \
	ame/source/mesh/*.cpp \
	ame/source/app/*.cpp \
	ame/source/app/modules/thirdParty/*.cpp \
	ame/source/app/modules/Asound/AsoundOAL.cpp \

CCINCLUDE=-I./ame/source/ -I/usr/include/freetype2

CCVERSION= -std=c++17

CCLINKS=-ldl -lvulkan -lpthread -lglfw -lGL -lopenal -lalut -lfreetype

CCFLAGS=$(CCSRC) $(CCINCLUDE) $(CCLINKS) $(CCVERSION) -fPIC

all:
	@sh dirScript.sh
	@mkdir build
	$(CC) $(CCFLAGS) -c
	@mv ./*.o $(CCTARGET)
